package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.FieldsVerify;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FieldsVerifyRepository extends JpaRepository<FieldsVerify, Long> {

    /**
    * 根据会员ID查询字段校验规则
    * @author wrc
    * @date 2020/7/15
    */
    List<FieldsVerify> findAllByMemberConfigIdEquals(Long memberConfigId);


    void deleteByMemberConfigIdEquals(Long memberConfigId);
}
